﻿<table width="100%" style="background-color: #E7E7E7;  border-spacing: 1px;  color: #666666;border: 1px solid back;">
	<?php if(count($this->product)){ ?>
	<?php foreach((array)$this->product as $k=>$product){ ?>
	<tr style="border-top: 1px solid #FFFFFF;">
		<td style="padding:9px;" width="112"><img src="admin/images/products/<?php $image=$this->model->getImage($product->id);echo $image[0]->image_name ?>" width="112" height="84" /></td>
		<td style="padding:9px;" align="left"><a href="index.php?c=product&t=details&productid=<?php echo $product->id ?>&o=thong-tin-chung#divData"><?php echo $product->productname ?></a><p><?php echo $product->description  ?></p></td>
	</tr>
	<?php }}else{?>
	<tr style="border-spacing: 1px;color: #666666;">
		<td colspan="4" align="center">Hiện chưa có thuộc tính sản phẩm nào.</td>
	</tr>
	<?php }?>
	<tr>
		<td colspan="2" align="center"><?php $this->displaypagelink($this->pagination) ?></td>
	</tr>
</table>
